<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>matrices</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>matrices</b> -  Scilab object, matrices in Scilab</p>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    Matrices are basic objects defined in Scilab.
    They can be defined as follows:</p>
    <pre>

E=[e11,e12,...,e1n;
   e21,e22,...,e2n;
        ....
   em1,em2,...,emn];
   
    </pre>
    <p>
    Entries <tt>
        <b>eij</b>
      </tt> can be real or complex numbers, polynomials,
    rationals, strings, booleans.</p>
    <p>
    Vectors are seen as matrices with one row or one column.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

E=[1,2;3,4]
E=[%T,%F;1==1,1~=1]
s=poly(0,'s');E=[s,s^2;1,1+s]
E=[1/s,0;s,1/(s+1)]
E=['A11','A12';'A21','A22']
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="poly.htm">
        <tt>
          <b>poly</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../strings/string.htm">
        <tt>
          <b>string</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="boolean.htm">
        <tt>
          <b>boolean</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="rational.htm">
        <tt>
          <b>rational</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="empty.htm">
        <tt>
          <b>empty</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="hypermatrices.htm">
        <tt>
          <b>hypermatrices</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
